<?





ECHO"<table width=96% border=0 align=center cellpadding=0 cellspacing=0 bgcolor=#000000>
  <tr>
    <td><table width=100% border=0 cellspacing=1 cellpadding=1>

        <tr>
          <td CLASS=td3><div align=center><strong>Sujet</strong></div></td>
          <td CLASS=td3><div align=center><strong>Cr&eacute;ateur</strong></div></td>
          <td CLASS=td3><div align=center><strong>Date</strong></div></td>
          <td CLASS=td3><div align=center><strong>Note</strong></div></td>
        </tr>";
        
$query="SELECT T.tuto_id,T.tuto_createur,T.tuto_sujet,T.tuto_date, U.user_name FROM sd_tuto_txt AS T, sdusers AS U WHERE U.user_id=T.tuto_createur AND tuto_valid=1";
  $resultat=mysql_query($query);

        WHILE ($forum=mysql_fetch_array($resultat)){
         ECHO"<tr>
          <td CLASS=td2><center><a href=?$SID&p=tuto&cat=tuto_view&tid=$forum[0]>$forum[2]</a></center></td>
          <td CLASS=td2>$forum[4]</td>
          <td CLASS=td2>$forum[3]</td>
          <td CLASS=td2>&nbsp;</td>
        </tr>";
        
} //Fin du    WHILE ($forum=mysql_fetch_array($resultat)){
      ECHO"</table></td>
  </tr>
</table>";



//Menu bas
SWITCH($_USER_ID){
    CASE 0:
    BREAK ;
    DEFAULT:
ECHO"</BR><table width=96% border=0 align=center cellpadding=0 cellspacing=0 bgcolor=#000000>
  <tr>
    <td><table width=100% border=0 cellspacing=1 cellpadding=1>
        <tr>
          <td CLASS=td3>Haut - <a HREF=?$SID&p=tuto&cat=tutoadd>Ajouter tutorial</a> - Gerer ses Tutoriaux</td>
        </tr>
      </table></td>
  </tr>
</table>";
BREAK;


}//fin du switch $_user_id

?>
